﻿/*CREATE TRIGGER [dbo].[Acl_DeletionTrigger] 
    ON [Acl] 
    AFTER DELETE 
AS 
SET NOCOUNT ON 
UPDATE [dbo].[Acl_Tombstone] 
    SET [DeletionDate] = GETUTCDATE() 
    FROM deleted 
    WHERE deleted.[AclGuid] = [Acl_Tombstone].[AclGuid] 
IF @@ROWCOUNT = 0 
BEGIN 
    INSERT INTO [dbo].[Acl_Tombstone] 
    ([AclGuid], DeletionDate)
    SELECT [AclGuid], GETUTCDATE()
    FROM deleted 
END*/